package com.zy.explore.strategy.interfaces.frm;

import com.zy.explore.strategy.infrastructure.enums.VipTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * description VIP用户消费请求参数Frm
 *
 * @author 🇨🇳中国印🇨🇳
 * @date 2021年07月03日 01:03
 */
@ApiModel("VIP用户消费请求参数Frm")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class VipCostFrm {

    @ApiModelProperty(value = "VIP类型：普通会员normal_vip；白银会员silver_vip；黄金会员gold_vip；白金会员platinum_vip", allowableValues="normal_vip,silver_vip,gold_vip,platinum_vip", required = true, example = "normal_vip")
    @NotBlank(message = "会员类型不能为空")
    private String vipType;

    @ApiModelProperty("消费金额，单位：元，最多保留2位小数，精确到分")
    private String costs;

}
